package org.bigjava.novelplatform.common.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author ykh
 * @create 2022-03-20 15:49
 */
@Getter
@AllArgsConstructor
public enum CommodityType  implements CodeMesEnum{
    /**
     *
     */
    CHAPTER(0,"章节"),BOOK_INTEGRAL(1,"书籍积分"),WRITER_INTEGRAL(2,"作者积分");

    @EnumValue
    private final Integer code;
    private final String message;
}
